

package com.yz.common.entity;

import com.yz.common.entity.DrillingEntity;
import com.yz.common.entity.DrillingDetailEntity;
import io.swagger.annotations.ApiModel;

import javax.validation.Valid;
import java.util.List;

/**
 *钻探记录
 */
@ApiModel(value = "钻探记录表单")
public class DrillingForm{
    private List<DrillingDetailEntity> details;
    @Valid
    private DrillingEntity drilling;

    public void setDrilling(DrillingEntity drilling) {
        this.drilling = drilling;
    }

    public DrillingEntity getDrilling() {
        return drilling;
    }

    public void setDetails(List<DrillingDetailEntity> details) {
        this.details = details;
    }

    public List<DrillingDetailEntity> getDetails() {
        return details;
    }
}
